lib/repo-finder-mount: Ignore mounts which have a ‘system’ file system
authorPhilip Withnall <withnall@endlessm.com>
Wed, 25 Oct 2017 14:49:49 +0000 (15:49 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 26 Oct 2017 01:34:14 +0000 (01:34 +0000)
commit0760ce128183e1bdaaa08bd3d6b17e275b81418a
tree5e205a7da7e02c47a5b364bdf844ecf5687dc064
parentd76840d0c1e6e23ab54cee7a5142671e2cc4fae2
lib/repo-finder-mount: Ignore mounts which have a ‘system’ file system

For example, tmpfs or a cgroup file system. This is basically an
optimisation of the list of file systems we check for repositories,
since we would never expect any of these file systems to be capable of
containing a repository.

Depends on the new API from
https://bugzilla.gnome.org/show_bug.cgi?id=788927.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1307
Approved by: cgwalters
src/libostree/ostree-repo-finder-mount.c